package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户实名信息Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="user_real_info")
public class UserRealInfo extends BaseEntity{
    /**
     `user_id` varchar(64) DEFAULT NULL COMMENT '用户ID',
     `name` varchar(100) DEFAULT NULL COMMENT '姓名',
     `id_number_type` char(1) DEFAULT NULL COMMENT '证件类型(1:身份证,2:驾驶证,9:其他)',
     `id_number` varchar(200) DEFAULT NULL COMMENT '证件号码',
     `id_number_image` varchar(1000) DEFAULT NULL COMMENT '证件照片',
     `state` char(1) DEFAULT '0' COMMENT '实名状态(1未实名、2审核中、3已实名、4驳回)',
     `reject_desc` varchar(255) DEFAULT '0' COMMENT '驳回描述',
     */
    private static final long serialVersionUID = 1L;
    private String userId;          // 用户ID
    private String name;            // 姓名
    private String idNumberType;    // 证件类型(1:身份证,2:驾驶证,9:其他)
    private String idNumber;        // 证件号码
    private String idNumberImage;   // 证件照片
    private String state;           // 实名状态(1未实名、2审核中、3已实名、4驳回)
    private String rejectDesc;      // 驳回描述

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNumberType() {
        return idNumberType;
    }

    public void setIdNumberType(String idNumberType) {
        this.idNumberType = idNumberType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getIdNumberImage() {
        return idNumberImage;
    }

    public void setIdNumberImage(String idNumberImage) {
        this.idNumberImage = idNumberImage;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRejectDesc() {
        return rejectDesc;
    }

    public void setRejectDesc(String rejectDesc) {
        this.rejectDesc = rejectDesc;
    }
}